<?php

namespace api\wxapp\model;
use think\Model;
class Score extends Model
{
    protected $table = 'sssc_app_user_integral';
    public function leftuser($query)
    {
        return $query->join('app_user t2','t2.id = t1.uid');
    }
    public function returnfield($query)
    {
        return $query->field('t1.*,t2.nickname,t2.phone');
    }
}
